<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head lang="en">
    <link rel="stylesheet" type="text/css" href="AppStore/Public/bootstrap/css/bootstrap.min.css"/>
    <meta charset="UTF-8">
    <title>修改用户信息</title>
    <link href="/study/Public/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <script src="/study/Public/bootstrap/js/jquery.min.js" type="text/javascript"></script>
    <script src="/study/Public/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>


</head>

<body>
<!--自动接收updateUserInfo方法传来的User变量-->

<div class="container">

<form class="form-horizontal" method="post" enctype="multipart/form-data"  action="update5">
    <!--隐藏id-->
    <input type="hidden" value="<?php echo ($practice["id"]); ?>">
    <div class="form-group ">
        <label for="name" class="col-md-2 control-label">活动名称</label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="name" name="name" placeholder="name" value="<?php echo ($practice["name"]); ?>">
        </div>
    </div>
    <div class="form-group">
        <label for="groupname"class="col-md-2 control-label">所属社团</label>
        <div class="col-md-5">
            <input type="groupname" class=" form-control " id="groupname" name="groupname" placeholder="groupname" value="<?php echo ($practice["groupname"]); ?>">
        </div>
    </div>

     <div class="form-group">
        <label for="puser" class="col-md-2 control-label">发布人用户名</label>
        <div class="col-md-5">
            <input type="puser" class="form-control" id="puser" name="puser" placeholder="puser" value="<?php echo ($practice["puser"]); ?>">
        </div>
    </div>
    <div class="form-group">
        <label for="ptime" class="col-md-2 control-label">活动时间</label>
        <div class="col-md-5">
            <input type="date" class="form-control" id="ptime" name="ptime" placeholder="ptime" value="<?php echo ($practice["ptime"]); ?>" >
        </div>
    </div>
    <div class="form-group">
        <label for="place" class="col-md-2 control-label">活动地点</label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="place" name="place" placeholder="place" value="<?php echo ($practice["place"]); ?>">
        </div>
    </div>

    <div class="form-group">
        <label for="intro" class="col-md-2 control-label">活动介绍</label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="intro" name="intro" placeholder="intro" value="<?php echo ($practice["intro"]); ?>" >
        </div>
    </div>
    <div class="form-group">
        <label for="pfile" class="col-md-2 control-label">需要文件 </label>
        <div class="col-md-5">
           <input type="file" value="<?php echo ($practice["pfile"]); ?>">
        </div>
    </div>
   <div class="form-group">
        <label for="matters" class="col-md-2 control-label">注意事项</label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="matters" name="matters" placeholder="matters" value="<?php echo ($practice["matters"]); ?>">
        </div>
    </div>
    <div class="col-md-2 col-md-offset-5">
        <button type="submit" class="btn btn-default">修改</button>
    </div>
</form>
</div>
</body>
</html>